package com.example.demo.mapper;

import com.example.demo.domain.entity.ChapterEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ChapterMapper{

    ChapterEntity selectChapter(int id);

    void insertCapter(Long bookId, String content);

    List<ChapterEntity> selectTest();
}
